package com.atguigu.yygh.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = "com.atguigu")  //整合 Swagger2 到项目中
@EnableFeignClients(basePackages = "com.atguigu")
//开启 服务调用
public class UserApplication {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		  SpringApplication.run(UserApplication.class, args);
	}

}
